#ifndef MAIN_WINDOW_REVERSI__H
#define MAIN_WINDOW_REVERSI__H
#include "BoardCairoViewer.h"
#include <gtkmm/window.h>
class MainWindow: public Gtk::Window
{
public:
    MainWindow();
    virtual ~MainWindow();
protected:
    virtual bool on_button_press_event (GdkEventButton* event);
private:
    Board board_;    
    BoardCairoViewer viewer_;

    bool get_position(int x, int y, int& row, int& col);
    
};
#endif
